package cn.ipenta.blockchain.entity;

import java.io.Serializable;

public class Pair<T, K> implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private T firstItem;
	private K secondItem;

	public Pair(T t, K k) {
		this.firstItem = t;
		this.secondItem = k;
	}

	public T getFirstItem() {
		return this.firstItem;
	}

	public void setFirstItem(T firstItem) {
		this.firstItem = firstItem;
	}

	public K getSecondItem() {
		return this.secondItem;
	}

	public void setSecondItem(K secondItem) {
		this.secondItem = secondItem;
	}
}
